package render

import "net/http"

type Render interface {
	Render(w http.ResponseWriter, code int) error
	WriteContentType(w http.ResponseWriter)
}

// func writeContentType(w http.ResponseWriter, value []string) {
//
//		for _, str := range value {
//			w.Header().Set("Content-type", str)
//		}
//	}
func writeContentType(w http.ResponseWriter, value string) {
	w.Header().Set("Content-type", value)
}
